package com.example.demo_mysql_mybatisplus.util.api.crudFree.demo;

import com.example.demo_mysql_mybatisplus.mybatisplus.entitys.User;
import com.example.demo_mysql_mybatisplus.util.api.crudFree.FreeController;
import com.example.demo_mysql_mybatisplus.util.api.crudFree.FreeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Date;

@RestController
@RequestMapping("user2")
public class UserController2 implements FreeController<User> {
    public static void main(String[] args) {
        Date date = new Date();
    }
    @Autowired
    UserServiceImpl2 userServiceImpl ;

    @Override
    public FreeService<User> service() {
        return userServiceImpl;
    }
}